-- GENERATED SPELL FOR [Iron Rune Stonecaller] --


function spell0_24030(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(9053,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24030', 3000, 1)
end

function Sorts_24030(pUnit, Event)
local choix_sorts_24030 = math.random(0, 0)
if choix_sorts_24030 == 0 then
pUnit:RegisterEvent('spell0_24030', 1, 1)
end
end

function mob24030_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24030', math.random(1500, 3000), 1)
end

function mob24030_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24030_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24030_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24030, 1, 'mob24030_Action')
RegisterUnitEvent(24030, 2, 'mob24030_Leave')
RegisterUnitEvent(24030, 3, 'mob24030_Kill')
RegisterUnitEvent(24030, 4, 'mob24030_Die')
